<extend name="Public/publicHTML" />
<block name="content">

<form name="myform" action="{:U('admin_save')}" method="post"
	onsubmit="return check();">
	<div class="list">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			class="details">
			<tbody>
				<tr>
					<td width="32%"><label class="label">
							<div align="right">账号：</div>
					</label></td>
					<td width="68%">{$vo.account}</td>
				</tr>
				<tr>
					<td><div align="right">用户组：</div></td>
					<td><select name="group_id" id="group_id" class="select">
							<option value="{$vo.group_id}">{$vo.title}</option>
							<if condition="$_SESSION['aid'] eq 1">
							<option value="">---- 请选择所属组 ----</option>
							<foreach name="group" item="vo2">
							<option value="{$vo2.id}">{$vo2.title}</option>
							</foreach> </if>
					</select></td>
				</tr>
				<tr>
					<td><div align="right">账号状态：</div></td>
					<td><if condition="$_SESSION['aid'] == 1"> <input
							name="status" type="radio" id="qiyong" value="1"
							style="position: relative; top: 8px;"
						<if condition="$vo.status eq 1"> checked </if> /> <label
							for="qiyong">允许登录</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input name="status" type="radio" id="jinyong" value="0"
							style="position: relative; top: 8px;"
						<if condition="$vo.status eq 0"> checked </if> /> <label
							for="jinyong">禁用登录</label> <else /> 正常<input name="status"
							type="hidden" value="1" /> </if></td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="footer">
		<div class="save_button">
			<input type="hidden" name="id" value="{$vo.id}" />
			<button type="submit" class="button" style="width: 180px;">保
				存</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="__JS__/admin/adminEdit.js"></script>
</block>